//
//  MLURL.h
//  Pods
//
//  Created by molon on 15/7/1.
//
//

#import <Foundation/Foundation.h>

@interface MLURL : NSURL

@property (readonly, nonatomic, assign) NSSearchPathDirectory searchPathDirectory;
@property (readonly, nonatomic, assign) NSSearchPathDomainMask searchPathDomainMask;

//主要是为了防止本地路径的沙盒环境的前缀变化
+ (MLURL*)fileURLWithPath:(NSString *)path isDirectory:(BOOL)isDir searchPathDirectory:(NSSearchPathDirectory)searchPathDirectory searchPathDomainMask:(NSSearchPathDomainMask)searchPathDomainMask;

- (NSString*)path;

- (NSURL*)commonURL;

@end
